﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using IE4SmallBasic;
using Microsoft.SmallBasic.Library;

class Program
{
    static void Main(string[] args)
    {
        IE.Navigate("http://www.bing.com/");
        IE.SetValue("sb_form_q", "Small Basic");
        IE.Click("sb_form_go");

        var v1 = IE.GetValue("sb_form_q");
        Console.WriteLine(v1.ToString());

        var v2 = IE.GetText("sw_rel");
        Console.WriteLine(v2.ToString());

        //IE.Print();
    }
}
